#import "ShareViewController.h"

@interface ShareViewController ()
{

}
@end

@implementation ShareViewController

@synthesize owner;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        //
    }
    return self;
}

- (void)dealloc {
    [super dealloc];
}

- (IBAction)cancel:(id)sender
{   
    if (self.owner && [self.owner respondsToSelector:@selector(SVDcancel:)]) {
        [self.owner SVDcancel];
    }
}

- (IBAction)sinaWeibo:(id)sender {
    [self.owner SVDsinaWeibo];
    [self.owner SVDcancel];
}

- (IBAction)weixin:(id)sender {
    [self.owner SVDweixin];
    [self.owner SVDcancel];
}

- (IBAction)weixinFriends:(id)sender {
    [self.owner SVDweixinFriends];
    [self.owner SVDcancel];
}

- (IBAction)tencentWeibo:(id)sender {
    [self.owner SVDtencentWeibo];
    [self.owner SVDcancel];
}
- (IBAction)douban:(id)sender {
    [self.owner SVDdouban];
    [self.owner SVDcancel];
}
- (IBAction)qzone:(id)sender {
    [self.owner SVDqzone];
    [self.owner SVDcancel];
}
- (IBAction)renren:(id)sender {
    [self.owner SVDrenren];
    [self.owner SVDcancel];
}
- (IBAction)smsMessage:(id)sender {
    [self.owner SVDsmsMessage];
    [self.owner SVDcancel];
}
- (IBAction)copy:(id)sender {
    [self.owner SVDcopy];
    [self.owner SVDcancel];
}
@end
